run-with-locales: Actually export LOCPATH when required
authorSimon McVittie <smcv@debian.org>
Sun, 1 Mar 2020 12:15:09 +0000 (12:15 +0000)
committerSimon McVittie <smcv@debian.org>
Sun, 1 Mar 2020 13:54:37 +0000 (13:54 +0000)
Gbp-Dch: ignore

debian/run-with-locales

index 79267663cfda7fa6ba2ff23d622cc24447aaf154..02e5adbf0e02c11480e7c67160ceb8db7d60ea0f 100755 (executable)
@@ -113,8 +113,8 @@ while [ "$#" -gt 0 ]; do
     esac
 done
 
-if [ -n "$tmpdir" ]; then
-    export LOCPATH="$tmpdir"
+if [ -n "$tempdir" ]; then
+    export LOCPATH="$tempdir"
 fi
 
 "$@"